/*
 *  Licensed to the Apache Software Foundation (ASF) under one
 *  or more contributor license agreements.  See the NOTICE file
 *  distributed with this work for additional information
 *  regarding copyright ownership.  The ASF licenses this file
 *  to you under the Apache License, Version 2.0 (the
 *  "License"); you may not use this file except in compliance
 *  with the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing,
 *  software distributed under the License is distributed on an
 *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 *  KIND, either express or implied.  See the License for the
 *  specific language governing permissions and limitations
 *  under the License.
 *
 */
package org.apache.directory.mavibot.btree;

/**
 * 
 * An interface for all the MBean of btree.
 *
 * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
 */
public interface JMXMavibotBean
{
    /** get the number of elements in the btree. */
    public long getNbElems();
    
    /** get the index of the current revision. */
    public long getRevision();
    
    /** get the name of the key serializer. */
    public String getKeySerializerFQCN();
    
    /** get the name of the value serializer. */
    public String getValueSerializerFQCN();
    
    /** get the page size. */
    public int getPageSize();
    
    /** get the read timeout. */
    public long getReadTimeOut();
    
    /** get the size of the write buffer. */
    public int getWriteBufferSize();
    
    /** get the name of the btree. */
    public String getName();
    
    /** get the type of the btree. */
    public String getType();
}
